package cn.iocoder.yudao.module.project.service.kismaterialreceipt;

import java.util.*;
import javax.validation.*;
import cn.iocoder.yudao.module.project.controller.admin.kismaterialreceipt.vo.*;
import cn.iocoder.yudao.module.project.dal.dataobject.kismaterialreceipt.KisMaterialReceiptDO;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.common.pojo.PageParam;

/**
 * 物料入库单 Service 接口
 *
 * @author 芋道源码
 */
public interface KisMaterialReceiptService {

    /**
     * 创建物料入库单
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    String createKisMaterialReceipt(@Valid KisMaterialReceiptSaveReqVO createReqVO);

    /**
     * 更新物料入库单
     *
     * @param updateReqVO 更新信息
     */
    void updateKisMaterialReceipt(@Valid KisMaterialReceiptSaveReqVO updateReqVO);

    /**
     * 删除物料入库单
     *
     * @param id 编号
     */
    void deleteKisMaterialReceipt(String id);

    /**
     * 获得物料入库单
     *
     * @param id 编号
     * @return 物料入库单
     */
    KisMaterialReceiptDO getKisMaterialReceipt(String id);

    /**
     * 获得物料入库单分页
     *
     * @param pageReqVO 分页查询
     * @return 物料入库单分页
     */
    PageResult<KisMaterialReceiptDO> getKisMaterialReceiptPage(KisMaterialReceiptPageReqVO pageReqVO);




    void insertRecord(List<KisMaterialReceiptDO> insertList);

    List<MaterialReceiptReportVO> selectMaterialReceiptReportByDate(MaterialReceiptReportBO materialReceiptReportBO);

    Long countMaterialReceiptList(Map<String, Object> params);

    List<KisMaterialReceiptListVO> selectMaterialReceiptList(Map<String, Object> params);

}